package utils;

import java.awt.Toolkit;

//@author A0098891H
public class ScreenAdjustment {
	
	public static int getAlignCenterX(int width)
	{
		return (int) ((Toolkit.getDefaultToolkit().getScreenSize().getWidth()-width)/2);
	}
	

	public static int getAlignCenterY(int height)
	{
		return (int) ((Toolkit.getDefaultToolkit().getScreenSize().getHeight()-height)/2);
	}

}
